package net.maku.module.organization.vo;

import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

import net.maku.framework.common.utils.DateUtils;
import net.maku.module.business.entity.DictionariesSubsetEntity;

import java.util.Date;

/**
 * 业务_工作地点
 *
 * @author
 */
@Data
@Schema(description = "业务_工作地点")
public class WorkplaceVO implements Serializable, TransPojo {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "工作地点")
    private String workplace;

    @Schema(description = "国家地区")
    @Trans(type = TransType.SIMPLE, target = DictionariesSubsetEntity.class, fields = "name", ref = "regionName")
    private String regionCode;

    @Schema(description = "国家地区名称")
    private String regionName;

    @Schema(description = "所在城市")
    private String cityCode;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "类型")
    @Trans(type = TransType.SIMPLE, target = DictionariesSubsetEntity.class, fields = "name", ref = "typeName")
    private String type;

    @Schema(description = "类型名称")
    private String typeName;

    @Schema(description = "邮政编码")
    private String postal;

    @Schema(description = "描述")
    private String description;

}